package net.gianrishandy.jbase.component.support;

import java.util.Hashtable;

/**
 * @author Gian Rishandy
 *
 */
public class DataGridProperty {
	
	private Hashtable<String, String> columnTitle;
	private Hashtable<String, Integer> columnSize;
	private String[] disableColumns;
	private Hashtable<String, Object[]> comboColumns;
	private String[] lookupColumns;
	private String[] invisibleColumns;

	/**
	 * Get column titles of DataGrid 
	 * 
	 * @return Hashtable<String columnName, String columnTitle>
	 */
	public Hashtable<String, String> getColumnTitle() {
		return columnTitle;
	}

	/**
	 * Set column titles of DataGrid
	 * 
	 * @param columnTitle
	 */
	public void setColumnTitle(Hashtable<String, String> columnTitle) {
		this.columnTitle = columnTitle;
	}

	/**
	 * Get disable columns of DataGrid
	 * 
	 * @return String[]
	 */
	public String[] getDisableColumns() {
		return disableColumns;
	}

	/**
	 * Set disable column of DataGrid
	 * 
	 * @param disableColumns
	 */
	public void setDisableColumns(String[] disableColumns) {
		this.disableColumns = disableColumns;
	}

	/**
	 * Get combo columns of DataGrid
	 * 
	 * @return Hashtable<String columnName, Object[] comboObjects>
	 */
	public Hashtable<String, Object[]> getComboColumns() {
		return comboColumns;
	}

	/**
	 * Set combo columns of DataGrid
	 * 
	 * @param comboColumns
	 */
	public void setComboColumns(Hashtable<String, Object[]> comboColumns) {
		this.comboColumns = comboColumns;
	}

	/**
	 * Get columns size of DataGrid
	 * 
	 * @return Hastable<String columnName, Integer columnSize>
	 */
	public Hashtable<String, Integer> getColumnSize() {
		return columnSize;
	}

	/**
	 * Set columns size of DataGrid
	 * 
	 * @param columnSize
	 */
	public void setColumnSize(Hashtable<String, Integer> columnSize) {
		this.columnSize = columnSize;
	}

	/**
	 * Get lookup columns of DataGrid
	 * 
	 * @return String[]
	 */
	public String[] getLookupColumns() {
		return lookupColumns;
	}

	/**
	 * Set lookup columns of DataGrid
	 * 
	 * @param lookupColumns
	 */
	public void setLookupColumns(String[] lookupColumns) {
		this.lookupColumns = lookupColumns;
	}

	/**
	 * Get invisible columns of DataGrid
	 * 
	 * @return String[]
	 */
	public String[] getInvisibleColumns() {
		return invisibleColumns;
	}

	/**
	 * Set invisible columns of DataGrid
	 * 
	 * @param invisibleColumns
	 */
	public void setInvisibleColumns(String[] invisibleColumns) {
		this.invisibleColumns = invisibleColumns;
	}
}
